//
//  Profile.h
//  Bango
//

#import <CoreData/CoreData.h>

@class Event;

@interface Profile :  NSManagedObject
{
}

@property (nonatomic, retain) NSString * device;
@property (nonatomic, retain) NSString * applicationKey;
@property (nonatomic, retain) NSString * applicationChannel;
@property (nonatomic, retain) NSString * applicationType;
@property (nonatomic, retain) NSString * applicationVersion;
@property (nonatomic, retain) NSString * ipAddress;
@property (nonatomic, retain) NSString * userId;
@property (nonatomic, retain) NSDate * created;
@property (nonatomic, retain) NSString * operator;
@property (nonatomic, retain) NSString * brand;
@property (nonatomic, retain) NSNumber * locationLatitude;
@property (nonatomic, retain) NSNumber * locationAltitude;
@property (nonatomic, retain) NSString * version;
@property (nonatomic, retain) NSNumber * locationAccuracy;
@property (nonatomic, retain) NSString * sim;
@property (nonatomic, retain) NSNumber * sdkVersion;
@property (nonatomic, retain) NSNumber * locationLongitude;
@property (nonatomic, retain) NSNumber * networkType;
@property (nonatomic, retain) NSString * model;
@property (nonatomic, retain) NSString * product;
@property (nonatomic, retain) NSString * connectionType;
@property (nonatomic, retain) NSNumber * sdkType;
@property (nonatomic, retain) NSNumber * isRoaming;
@property (nonatomic, retain) NSNumber * sessionRestartTime;
@property (nonatomic, retain) NSString * buildId;
@property (nonatomic, retain) NSSet* events;

@end


@interface Profile (CoreDataGeneratedAccessors)
- (void)addEventsObject:(Event *)value;
- (void)removeEventsObject:(Event *)value;
- (void)addEvents:(NSSet *)value;
- (void)removeEvents:(NSSet *)value;

-(NSDictionary*)createDictionaryForField :(NSString*)name value:(NSString*)value;

@end

